
package com.dps.omc.service;
import com.dps.omc.enumer.EnumJobState;
import com.dps.omc.model.User;
import com.dps.common.service.IBaseService;
import com.dps.common.service.IPageService;
import com.dps.omc.dao.IJobDAO;
import com.dps.omc.model.Job;

import java.util.Date;
import java.util.List;

public interface IJobService extends IBaseService<IJobDAO,Job>,IPageService<IJobDAO,Job>{

    public Job add(Job job,User lastModified);
    public void update(Job job,User lastModified);

    public List<Job> queryByCreateDateAndStatus(Date queryStart, Date queryEnd, EnumJobState status);
}